#!/bin/sh

# standard error output merge to the standard output file
#PBS -j oe

# go to the working directory
cd $PBS_O_WORKDIR

# get a new machinefile file which contains unique nodes
rm -f hostfile
touch hostfile
cat $PBS_NODEFILE | sort | uniq >> hostfile
